#include <stdio.h>
#include <assert.h>

int int_shifts_are_arithmetic(){
    int num = ~0x0;
    // !(num ^ num >> 1)
    num = num >> (sizeof(int) * 8 - 1);
    return num & 0x1;
}

int main(){

    assert(int_shifts_are_arithmetic());

    return 0;
}
